﻿
using System.Data.Entity.ModelConfiguration;
using ProjetoComperio.DataLayer.Entities;

namespace ProjetoComperio.DataLayer.Configuration
{
    public class NewContributionMemberConfiguration : EntityConfiguration<NewContributionMember>
    {
        public NewContributionMemberConfiguration()
        {
            MapHierarchy(
                e => new
                {
                    e.AccessCode,
                    e.Email,
                    e.Name,
                    e.NewContributionMemberID
                }
            ).ToTable("NewContributionMember");
        }
    }
}
